package com.example.demo.service;



import com.example.demo.model.Student;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface StudentService {
    PageInfo<Student> getAll(Student student, int page, int size);

    Student selectByNo(int studentNo);

    Integer addStudent(Student student);

    Integer updateStudent(Student student);

    Integer deleteStudent(int studentNo);

    List<Student> selectAllStudent();

    List<Student> selectloginStudent(Student student);

}
